##
##  $Id: Makefile.am,v 1.15 2007/11/29 06:40:47 ccj Exp $
##

MANAGERS = all

rtems_tests_PROGRAMS = cxx_iostream.exe
cxx_iostream_exe_SOURCES = init.cc system.h

dist_rtems_tests_DATA = iostream.scn
dist_rtems_tests_DATA += iostream.doc

include $(RTEMS_ROOT)/make/custom/@RTEMS_BSP@.cfg
include $(top_srcdir)/../automake/compile.am
include $(top_srcdir)/../automake/leaf.am

cxx_iostream_exe_LDADD = $(MANAGERS_NOT_WANTED:%=$(PROJECT_LIB)/no-%.rel)

LINK_OBJS = $(cxx_iostream_exe_OBJECTS) $(cxx_iostream_exe_LDADD)
LINK_LIBS = $(cxx_iostream_exe_LDLIBS)

cxx_iostream.exe$(EXEEXT): $(cxx_iostream_exe_OBJECTS) $(cxx_iostream_exe_DEPENDENCIES)
	@rm -f cxx_iostream.exe$(EXEEXT)
	$(make-cxx-exe)

include $(top_srcdir)/../automake/local.am
